package com.youlu.campus.web.order.controller;


import com.youlu.campus.service.order.OrderShippingTaskService;
import com.yuelin.infrastructure.quantum.common.QResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OrderPostController {

    @Autowired
    private OrderShippingTaskService orderShippingTaskService;

    @GetMapping("/mini-app/order/post/controller")
    public QResult getRefundDetail(@RequestParam("orderNo") String orderNo) {
        return QResult.success(orderShippingTaskService.findPostControllerByOrderNo(orderNo));
    }
}
